-
-
Notifications
You must be signed in to change notification settings - Fork 381
[GSK-1956] Moved target validation and silenced it for LLMs #1531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@rabah-khalek can you check the unit tests? |
mattbit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To rediscuss.
| if model.meta.model_type != SupportedModelTypes.TEXT_GENERATION and validate_ds is not None: | ||
| validate_optional_target(validate_ds) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this in validate_model???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should refactor model_validation and dataset_validation into one common validation, but the way the code is structured right now, I needed model.meta.model_type to do validate_optional_target for non-LLM models.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's just fix the llm-warning issue for now and deal with the refactoring post-release, I added a card here: https://linear.app/giskard/issue/GSK-2064/refactor-model-and-dataset-validation
|
Kudos, SonarCloud Quality Gate passed! |
mattbit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good but we should consider refactoring this soon.








Supersedes #1527